﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using System.Windows.Media.Animation;

namespace TowerDefender.Graphics.Maps
{
    /// <summary>
    /// Interaction logic for Map2.xaml
    /// </summary>
    public partial class Map2 : Page
    {   
        //Remplissage pathTab
        private String[,] pathTab = new String[,] {{"rectangle1", "5", "0"}, {"rectangle2", "5", "1"}, {"rectangle3", "4", "1"}, 
        {"rectangle5", "3", "1"}, {"rectangle6", "3", "2"}, {"rectangle7", "3", "3"}, {"rectangle8", "3", "4"}, {"rectangle9", "2", "4"}, {"rectangle10", "1", "4"},
        {"rectangle11", "0", "4"}};

        public Map2()
        {
            /*
            InitializeComponent();
            peon1.currentCol = Int32.Parse(pathTab[0, 1]);
            peon1.currentRow = Int32.Parse(pathTab[0, 2]);
            Grid.SetColumn(peon1, Int32.Parse(pathTab[0, 1]));
            Grid.SetRow(peon1, Int32.Parse(pathTab[0, 2]));
            peon1.MoveDown();
            Grid.SetColumn(peon1, Int32.Parse(pathTab[0, 1]));
            Grid.SetRow(peon1, Int32.Parse(pathTab[0, 2]));
            peon1.direction = 4;
           */ 
        }

        

        }
    }

